package com.guigu.base.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 线路表
 * </p>
 *
 * @author TaoLong
 * @since 2021-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PdTransportLine对象", description="线路表")
@TableName("pd_transport_line")
public class TransportLine implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "线路名称")
    private String name;

    @ApiModelProperty(value = "线路编号")
    private String lineNumber;

    @ApiModelProperty(value = "所属机构")
    private String agencyId;

    @ApiModelProperty(value = "线路类型")
    private String transportLineTypeId;

    @ApiModelProperty(value = "起始地机构id")
    private String startAgencyId;

    @ApiModelProperty(value = "目的地机构id")
    private String endAgencyId;

    @ApiModelProperty(value = "距离")
    private BigDecimal distance;

    @ApiModelProperty(value = "成本")
    private BigDecimal cost;

    @ApiModelProperty(value = "预计时间（分钟）")
    private BigDecimal estimatedTime;

    @ApiModelProperty(value = "状态 0：禁用 1：正常")
    private Integer status;


}
